Function Subspace :: _i16 literal

auto operator""_i16(unsigned long long val) -> i16

For writing i16 literals.

Un-qualified integer literals are 32 bits large (the size of int) unless a literal suffix modifies them, such as with _i16 which creates an 16-bit value.

Values out of range for i16 will fail to compile.

Examples

auto i = 123_i16 - (5_i16).abs();
sus_check(i == 118_i16);